package com.edu.hre.struts.form.recruit;

import java.util.ArrayList;
import java.util.List;

import org.apache.struts.action.ActionForm;
import org.apache.struts.util.LabelValueBean;


public class VacancyAddForm extends ActionForm {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 8524711320183647898L;
	private int id;
	private int jobTitle;	
	private String hiringManager;
	private String name = "";
	private String description = "";
	private String noOfPositions;
	private int status;

	private List<LabelValueBean> allJobTitles = new ArrayList<LabelValueBean>();
	private List<LabelValueBean> allManagers = new ArrayList<LabelValueBean>();
	private List<LabelValueBean> allStatuses = new ArrayList<LabelValueBean>();
	
	private boolean isAddNew = true;
    private String message = "";

	public VacancyAddForm() {
	
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getJobTitle() {
		return jobTitle;
	}

	public void setJobTitle(int jobTitle) {
		this.jobTitle = jobTitle;
	}

	public String getHiringManager() {
		return hiringManager;
	}

	public void setHiringManager(String hiringManager) {
		this.hiringManager = hiringManager;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getNoOfPositions() {
		return noOfPositions;
	}

	public void setNoOfPositions(String noOfPositions) {
		this.noOfPositions = noOfPositions;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public List<LabelValueBean> getAllJobTitles() {
		return allJobTitles;
	}

	public void setAllJobTitles(List<LabelValueBean> allJobTitles) {
		this.allJobTitles = allJobTitles;
	}

	public List<LabelValueBean> getAllManagers() {
		return allManagers;
	}

	public void setAllManagers(List<LabelValueBean> allManagers) {
		this.allManagers = allManagers;
	}

	public List<LabelValueBean> getAllStatuses() {
		return allStatuses;
	}

	public void setAllStatuses(List<LabelValueBean> allStatuses) {
		this.allStatuses = allStatuses;
	}

	public boolean isAddNew() {
		return isAddNew;
	}

	public void setAddNew(boolean isAddNew) {
		this.isAddNew = isAddNew;
	}
	
	public boolean getIsAddNew() {
		return isAddNew;
	}

	public void setIsAddNew(boolean isAddNew) {
		this.isAddNew = isAddNew;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
}
